package com.example.springboot.service;

import com.example.springboot.controller.request.BaseRequest;
import com.example.springboot.entity.Paper;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPaperService {

    List<Paper> list();

    PageInfo<Paper> page(BaseRequest baseRequest);

    void save(Paper obj);

    Paper getById(Integer id);

    void update(Paper obj);

    void deleteById(Integer id);

}